package com.zmn.oms.common.dio.quotation3;

import com.zmn.oms.common.dto.OmsOperator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName ArtificialPromListQuery
 * @description: 人工优惠查询入参
 * @author: wangyanci
 * @create: 2022-04-22 19:07
 * @Version 1.0
 **/
@Data
@Builder
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("计价器3.0人工优惠查询请求对象")
public class ArtificialPromListQuery extends OmsOperator implements Serializable {

    @NotNull(message = "渠道ID不能为空")
    @ApiModelProperty("渠道ID")
    private Integer channelId;

    @NotNull(message = "城市ID不能为空")
    @ApiModelProperty("城市ID")
    private Integer cityId;

    @NotNull(message = "产品ID不能为空")
    @ApiModelProperty("产品ID-前台产品")
    private Integer productId;

    @NotNull(message = "平台ID不能为空")
    @ApiModelProperty("平台ID")
    private Integer plat;

    @NotNull(message = "业务类型不能为空")
    @ApiModelProperty("业务类型：1保外业务（C） 2保内业务（F） 3工程业务（B）")
    private Integer bizType;

    @NotNull(message = "订单是否延保不能为空")
    @ApiModelProperty("订单是否延保（1：不是延保订单 2：是延保订单）")
    private Integer orderExtendedWarranty;
}